let http = require('http');

let server = http.createServer((req, res) => {
    
let body = " 你好";
res.writeHead(200, {"Content-Type": "text/html;charset=UTF-8"});
res.write(body);
res.end();

})
server.listen(3000,'127.0.0.1');


// let http = require('http');

// let server = http.createServer((req, res) => {
//     res.end('ok');
// })
// server.listen(80);
